/*
 * Object.cpp
 *
 *  Created on: Sep 5, 2013
 *      Author: jason
 */

#include "../../include/Objects/Object.hpp"

namespace OForce_Object {

Object::Object(int ID) : mId(ID){
	mCollide = true;
	mVisible = true;
	currentLayer = 0;
	objectType = INVALID_TYPE;
//	objectType = CHARACTER_TYPE; // should be defined in subclass
}

void Object::setPosition(int x, int y) {
	position = sf::Vector2i(x,y);
	rect.setPosition(sf::Vector2f(x, y));
}

} // namespace OForce_Object
